﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:local="clr-namespace:Samcrypt">

    <local:FormattingConverter x:Key="formatter" />
    
    <!-- outerBorder background gradient (top=dark, bottom=light) -->
    <LinearGradientBrush x:Key="outerBackground" StartPoint="0,0" EndPoint="0,1">
        <GradientStop Offset="0" Color="#9CBBD3"/>
        <GradientStop Offset="1" Color="#DDE8EF"/>
    </LinearGradientBrush>

    <!-- docHeaderBorder background gradient (left=dark, right=light) -->
    <LinearGradientBrush x:Key="docHeaderBackground" >
        <GradientStop Offset="0" Color="#BFD4E2 "/>
        <GradientStop Offset="1" Color="#DDE8EF"/>
    </LinearGradientBrush>

    <!-- docTitleBorderStyle1 (light background, light border, rounded corners) -->
    <Style x:Key="docTitleBorderStyle1">
        <Style.Setters>
            <Setter Property="Border.Background" Value="#EFF5F8" />
            <Setter Property="Border.BorderBrush" Value="Gray" />
            <Setter Property="Border.BorderThickness" Value="1" />
            <Setter Property="Border.CornerRadius" Value="8" />
        </Style.Setters>
    </Style>

    <!-- docDateTimeStyle1 (doc date and time) -->
    <Style x:Key="docDateTimeStyle1">
        <Style.Setters>
            <Setter Property="TextBlock.TextTrimming" Value="CharacterEllipsis" />
            <Setter Property="TextBlock.HorizontalAlignment" Value="Right" />
            <Setter Property="TextBlock.FontSize" Value="13" />
        </Style.Setters>
    </Style>


    <!-- docPageTabBackground background gradient (left=light, right=dark) -->
    <LinearGradientBrush x:Key="docPageTabBackground">
        <GradientStop Offset="0" Color="#F7F7F7"/>
        <GradientStop Offset="1" Color="#CFDDE7"/>
    </LinearGradientBrush>

    <!-- docPageTabSelectedBackground background gradient (left=light, right=dark) -->
    <LinearGradientBrush x:Key="docPageTabSelectedBackground">
        <GradientStop Offset="0" Color="#F7F7CF"/>
        <GradientStop Offset="1" Color="#F0C070"/>
    </LinearGradientBrush>

</ResourceDictionary>